package com.topnav.mc.involve.http;

import lombok.Data;
/**
 * 说明：http访问结果类
 * @类名: HttpResult
 *
 * @author   kenny
 * @Date	 2020年2月27日下午1:49:10
 */
@Data
public class HttpResult {
	private long code;
	private boolean success = true;
	private String msg;
	private Object data;
	
	public HttpResult(){
		super();
	}
	public HttpResult(long code, boolean success, String msg, Object data) {
		super();
		this.code = code;
		this.success = success;
		this.msg = msg;
		this.data = data;
	}
	public HttpResult(long code, boolean success, String msg) {
		this(code,success, msg, null);
	}
}
